package com.cmii.sjw.department.control.jsc.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cmii.sjw.department.control.jsc.model.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class EduIndicators extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 3735214162949490411L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 板块ID
     */
    private String plateId;

    /**
     * 板块名称
     */
    private String plateName;

    /**
     * 指标名称或KPI名称
     */
    private String name;

    /**
     * 指标现值
     */
    private String curValue;

    /**
     * 指标本轮目标值
     */
    private String targetValue;

    /**
     * 是否建议在驾驶舱展示
     */
    private Integer isShow;

    /**
     * 指标描述信息
     */
    private String description;

    /**
     * 数据类型
     */
    private String dataType;

    /**
     * 排序
     */
    private String displaySort;

    /**
     * 标识是否为 KPI 指标
     */
    private boolean isKPI;

    public boolean isKPI() {
        return isKPI;
    }
}
